package io.github.talelin.latticy.service;

import io.github.talelin.latticy.dto.banner.CreateOrUpdateBannerDTO;
import io.github.talelin.latticy.model.BannerDO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author generator@lms
 * @since 2021-04-18
 */
public interface BannerService extends IService<BannerDO> {

    void create(CreateOrUpdateBannerDTO dto);

    void update(CreateOrUpdateBannerDTO dto, Integer id);
}
